package per.hx.bs.shiro;

import java.io.Serializable;
import java.util.List;

/**
 * @author HuXing
 * @date 2018/3/11  10:44
 */
public class ShiroUser implements Serializable {

    private Long userId;
    private String userName;
    private String name;
    private Long deptId;
    private List<Long> roleIds;
    private Long picId;

    public ShiroUser(Long userId, String userName, String name, Long deptId, List<Long> roleIds, Long picId) {
        this.userId = userId;
        this.userName = userName;
        this.name = name;
        this.deptId = deptId;
        this.roleIds = roleIds;
        this.picId = picId;
    }

    public ShiroUser() {
    }

    @Override
    public String toString() {
        return "ShiroUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", deptId=" + deptId +
                ", roleIds=" + roleIds +
                ", picId=" + picId +
                ", name='" + name + '\'' +
                '}';
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

    public Long getPicId() {
        return picId;
    }

    public void setPicId(Long picId) {
        this.picId = picId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
